package test_extend;

public class Teacher extends Person{
    Teacher(String name, int age) {
        super(name, age);
    }

    @Override
    public void method()
    {
        System.out.println("我是一名老师");
    }
};
